<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="quik.data.DataProc"%>
<%@page import="java.util.ArrayList"%>    
<%
	DataProc data = new DataProc();
	ArrayList lt = data.getDataList(request,null);
	int cntLt = 0;
	if(lt!=null)
		cntLt = lt.size();
%>

<%@page import="comm.util.QuikHashMap"%>
<div>
	<div>총 <%=cntLt%> 개의 자료가 있습니다.</div>
	
		<%for(int i = 0; i<cntLt;i++){
			QuikHashMap hm = (QuikHashMap)lt.get(i);
		%>
		<div id="content-top"></div>
		
			<div id="lista" class="box">
				<%if(hm.get("DATA_TYPE").toString().equals("2")){ %>
					<div><a href="<%=hm.get("COMMENT") %>" target="_blank"><%=hm.get("COMMENT")%></a></div>
				<%}else{ %>
					<div><a href="./data/groupData/<%=hm.get("GROUP_SEQ")%>/<%=hm.get("FILE")%>" target="_blank"><%=hm.get("ORIGIN_FILE")%></a></div>
				<%} %>
				<%=hm.get("MEMBER_NICK")%>
				<div><a href="javascript:callArticle('<%=hm.get("ARTICLE_SEQ")%>','<%=hm.get("DATA_SEQ")%>');">글 보기</a></div>
				<div id="articleArea<%=hm.get("DATA_SEQ")%>"></div>
			</div>
		<div id="content-bottom"></div>
		<%} %>
</div>